<template>
	<view>
		<view class="tit">{{detail.title}}</view>
		<view class="val">{{detail.summary}}</view>
		<view class="info">
			<u-parse :content="detail.info"></u-parse>
		</view>
	</view>
</template>

<script>
	import { noticeget } from '@/api/index.js';
	export default {
		data() {
			return {
				detail:[]
			};
		},
		onLoad(options) {
			this.get_noticeget(options.id)
		},
		methods: {
			get_noticeget(id){
				noticeget({id:id}).then((res) => {
					this.detail = res.data
				});
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #fff;
	}
	.tit{
		padding: 24rpx;
		text-align: center;
		line-height: 80rpx;
		height: 80rpx;
		font-weight: bold;
		font-size: 32rpx;
	}
	.val{
		padding: 24rpx;
		margin-top: -48rpx;
		text-indent: 1em;
		font-size: 24rpx;
		color: #626675;
	}
	.info{
		padding: 24rpx;
		font-size: 26rpx;
	}
</style>
